home *** CD-ROM | disk | FTP | other *** search
/ JCSM Shareware Collection 1996 September / JCSM Shareware Collection (JCS Distribution) (September 1996).ISO / printing / 12680b01.ziv / DUPLEX.EXE / DUPLEX.TXT < prev    next >
Text File  |  1994-02-01  |  11KB  |  291 lines

  1.  
  2.              ┌───────┐
  3.         ┌────┴──┐    │               (R)
  4.        ─┤       │o   ├───────────────────
  5.         │  ┌────┴┴─┐ │  Association of    
  6.         │  │       ├─┘  Shareware         
  7.         └──┤   o   │    Professionals     
  8.        ────┤   │   ├─────────────────────
  9.            └───┴───┘    MEMBER
  10.  
  11.  
  12.  
  13.  
  14.  
  15.             D U P L E X 
  16.  
  17. Duplex is a shareware program which helps you to print a text-
  18. file on both sides of the paper.
  19.  
  20. This program is produced by Feico Nater Shareware, Beukweg 24,
  21. 7556 DE Hengelo Ov, phone 31 74 438373.  Feico Nater is a member
  22. of the Association of Shareware Professionals (ASP).  ASP wants
  23. to make sure that the shareware principle works for you.  If you
  24. are unable to resolve a shareware-related problem with an ASP
  25. member by contacting the member directly, ASP may be able to
  26. help.  The ASP Ombudsman can help you resolve a dispute or
  27. problem with an ASP member, but does not provide technical
  28. support for members' products.  Please write to the ASP Ombudsman
  29. at 545 Grover Road, Muskegon, MI 49442, USA or send a CompuServe
  30. message via CompuServe Mail to ASP Ombudsman 70007,3536.
  31.  
  32.  
  33. This program is shareware. You may have paid a small amount for
  34. this program, but this does not mean that you are licensed to use
  35. it.  That small amount is for diskette, postage and handling
  36. only.  You only have permission to see if it suits your needs. 
  37. If you continue to use this program, you are expected to register
  38. with the author and pay the registration fee.  The fee is only
  39. US $10.00 or Hfl 15.00.  If you register, you support shareware
  40. and you make it possible that more programs ar produced and
  41. distributed this way.
  42.  
  43. You are encouraged to give copies of this program to others.  The
  44. copies must be complete and unaltered, and you may charge only
  45. a small amount of money for diskette, postage and handling.
  46.  
  47. Whether you register or not, you are encouraged to tell the
  48. author what you like or dislike.
  49. 1 How to use DUPLEX
  50.  
  51. DUPLEX is usually started by entering:
  52.       DUPLEX file-name
  53. After pressing F10, two files are produced in your default
  54. directory: 
  55.       $OUT1 which contains the odd pages.
  56.       $OUT2 which contains the even pages.
  57. You can print these by entering: 
  58.       PRINT $OUT1
  59. or:
  60.       COPY $OUT1 LPT1
  61. When printing is completed, turn the pack over and print $OUT2.
  62.  
  63. Before you use DUPLEX, you must know something about your
  64. printer, and also about your input-file.  Therefore DUPLEX first
  65. asks you to answer some questions.  You can save the answers to
  66. these questions by pressing F8, so you won't have to answer them
  67. again.  If you press F10 without pressing F8, then DUPLEX will
  68. discard the answers to your questions when it has completed.
  69.  
  70. The questions are divided in two groups: some are related to your
  71. printer and others to you input-file.  You'll probably answer the
  72. printer-related questions only once.
  73.  
  74. 2 Printer-related questions
  75.  
  76. 2.1 Printer type
  77.  
  78. DUPLEX distinguishes four kinds of printers, and they have been
  79. pictured below.  They are:
  80. a   inverting, top-printing
  81. b   inverting, bottom-printing
  82. c   non-inverting, top-printing
  83. d   non-inverting, bottom-printing
  84. An inverting printer turns the paper over, a non-inverting
  85. printer does not.  Some printers print on top, so you can
  86. immediately read what has been printed, and some print on the
  87. bottom.
  88. A top-printing printer has a disadvantage: when several sheets
  89. are printed, they will be in backward order.  DUPLEX fixes this
  90. problem.
  91. If you use continuous fan-fold paper, set the printer-type to
  92. non-inverting.  Top- or bottom-printing makes no difference.
  93.  
  94. 2.2 Maximum lines per page and maximum characters per line
  95.  
  96. May-be you don't know the exact answers to these questions.  To
  97. find out, copy the file COUNT.DOC to your printer.  The result
  98. will also tell you what happens if you exceed the maximum values.
  99.  
  100. Some printers skip to the next line if you exceed the maximum
  101. characters per line.  To avoid this specify characters per line
  102. one fewer.  Better still, see if you can adjust your printer not
  103. to do so.
  104.  
  105. If the longest line in your text-file is shorter than the
  106. maximum, DUPLEX will center the page between margins.  If your
  107. text exceeds the number of characters per line, DUPLEX will warn
  108. you.
  109.  
  110. Many printers skip to the next page if you exceed the maximum
  111. lines per page.   To avoid this DUPLEX suppresses line-feeds
  112. preceding form-feed.
  113.  
  114. 2.3 Printer port
  115.  
  116. This option is not available in the current version of DUPLEX.
  117.  
  118. 2.4 Init string.
  119.  
  120. Here you can specify a string which must be sent to the printer
  121. before printing starts.  For example, you may want to control the
  122. font or the number of characters per inch.  Read your printer
  123. manual for instructions.  The string can contain any printable
  124. character and also the Esc character.  A triangle shows where the
  125. string ends, this triangle is not part of the string.  Make sure
  126. there are no unwanted spaces in the string.
  127.  
  128. 3 File-related questions
  129.  
  130. 3.1 Input format
  131.  
  132. A input-file usually contains three control-characters.  They
  133. are:
  134. CR (carriage return, decimal 13) moves the carriage to the left
  135. margin.
  136. LF (line feed, decimal 10) advances the paper one line.
  137. FF (form feed, decimal 12) advances the paper to the next page.
  138.  
  139. CR and LF usually occur together. They should occur frequently
  140. in any text-file.  FF may be missing in some text-files.
  141.  
  142. Depending on the occurence of FF, DUPLEX distinguishes three
  143. kinds of input-files.  They are:
  144. a   form-feed formatted
  145. b   line-feed formatted
  146. c   unformatted 
  147. a   An FF-formatted input-file contains a form-feed wherever a
  148. new page must begin.  There is a maximum number of lines between
  149. two form-feeds and this format expects that your printer can
  150. print at least that number of lines per page.  If your printer
  151. cannot print that many lines per page, the surplus lines will be
  152. on the next page, which is ugly, but cannot be helped.  DUPLEX
  153. correctly handles the extra page.
  154. b   An CRLF-formatted input-file contains no form-feeds, but a
  155. number of (carriage-return and) line-feed characters to skip to
  156. the next page.  This format expects that your printer will print
  157. EXACTLY a certain number of lines per page, often 66.  If you'd
  158. attempt to print such a file on a printer which prints a
  159. different number of lines per page, you will see page headers in
  160. the middle of pages.  DUPLEX fixes this problem, provided you set
  161. parameters correctly and your printer can print AT LEAST the
  162. expected number of lines.
  163. c   An unformatted input-file contains no redundant line-feeds,
  164. and few form-feeds.  With this format the page-breaks will be
  165. where they fall, and this may be in ugly places, such as
  166. immediately below a chapter heading.
  167.  
  168. The file you are now reading is unformatted.
  169.  
  170. It is advised that you inspect your input-file with a text-editor
  171. before starting DUPLEX.  If you have 4DOS or NDOS, you can use
  172. LIST.  The form-feed often looks like the female symbol or like
  173. an Egyptian cross.  If you see page-headers but no form-feeds,
  174. your file is probably CRLF-formatted: count the exact number of
  175. lines between two page headers.
  176.  
  177. If you specify CRLF format, you must also specify the exact
  178. number of lines per page that the input-file expects. 
  179. Preferably, this should not be more than your printer can print.
  180.  
  181. 3.2 Page-numbers
  182.  
  183. If you answer Y to this question, DUPLEX will add page-numbers
  184. to your text.  This is particularly convenient if something goes
  185. wrong during printing and you don't know what really happened. 
  186. Page-numbers will be at the top of the pages, left on even pages
  187. and right on odd pages.  If pages are numbered already, you had
  188. better specify N.
  189.  
  190. 3.3 File-name.
  191.  
  192. This is the name of the input-file.
  193.  
  194. 4 Storing different options 
  195.  
  196. May-be you have several printers and you want to save defaults
  197. for each.  It can be done, because DUPLEX saves its defaults in
  198. a file with the same name.  First create a copy of DUPLEX.COM
  199. with another name:
  200.       COPY DUPLEX.COM DUPLOX.COM
  201. Then start both programs and set defaults.  Do not forget to
  202. press F8 to save.  Eventually press F9 to quit without printing.
  203. This creates DUPLEX.OPT and DUPLOX.OPT, and although DUPLEX.COM
  204. and DUPLOX.COM are equal, they have different .OPT-files and
  205. therefore different defaults.
  206. You can also make different .OPT-files for the same printer.  One
  207. specifies 80 characters per line and an Init-string to set 10
  208. characters per inch.  Another specifies 96 characters per line
  209. and an Init-string to set 12 characters per inch. 
  210. 5 How to use the printer
  211.  
  212. Some printers warp the paper so much that it cannot be used
  213. again.  These printers are no good if you want to print both
  214. sides.  But may-be the printer can be adjusted to a non-inverting
  215. position, which does not warp the paper.
  216.  
  217. Your printer must be reliable.  If your paper jams, you are in
  218. trouble.  Many sheets of double print may be spoiled because the
  219. printer fed two sheets at once near the beginning of the job.
  220.  
  221. After printing the first side, the pack must be fed again.  The
  222. paper must be turned over in some way.  Be sure you do it the
  223. right way.  If you print in landscape-orientation on an inverting
  224. printer, the pack must not be turned over at all.
  225.  
  226. If you set defaults correctly, you should not reshuffle the paper
  227. in any way before refeeding it.
  228.  
  229. You can print by entering PRINT $OUT1 and PRINT $OUT2, or COPY
  230. $OUT1 LPT1 and COPY $OUT2 LPT1 or otherwise.  Depending on your
  231. printer type, DUPLEX will tell you which file must be printed
  232. first.
  233.  
  234. The PRINT-command has the advantage that the computer bcomes
  235. available for further jobs.  However, remember that the PRINT-
  236. command produces an extra form-feed at the end.  Therefore the
  237. last page must be removed before refeeding.
  238.  
  239. If your printer is non-inverting, $OUT1 and $OUT2 must be printed
  240. in the right order.  DUPLEX will tell you.
  241.  
  242. Why doesn't DUPLEX print immediately?  Well, because this makes
  243. it possible to use the PRINT command, which prints in the
  244. background.
  245.  
  246. DUPLEX always produces an even number of pages.  So if your
  247. source contains an odd number of pages, an extra form-feed will
  248. be appended to $OUT2.
  249. 6 Printer types
  250.  
  251. Non-inverting, printing on top
  252.                 
  253.      ───────────────────>
  254. ════════                ════════
  255. Printing order: 1 3 5 2 4 6     first $OUT1, then $OUT2
  256.  
  257.  
  258.  
  259. Non-inverting, printing on bottom (e.g.HP Laserjet)
  260.                 
  261.      ───────────────────>
  262. ════════               ════════
  263. Printing order: 2 4 6 1 3 5     first $OUT2, then $OUT1
  264.  
  265.  
  266.  
  267. inverting, printing on top   (e.g.HP DeskJet)
  268.     <──────────┐
  269. ════════       │
  270.                │
  271.                │<-
  272.                │
  273.       ─────────┘
  274. ════════
  275. Printing order: 2 4 6 5 3 1  or  5 3 1 2 4 6         
  276. $OUT1 will contain the odd pages in reversed order.
  277.  
  278.  
  279.  
  280. inverting, printing on bottom  (HP LN03 and others)
  281.     <──────────┐
  282. ════════       │
  283.                │
  284.              ->│
  285.                │
  286.       ─────────┘
  287. ════════
  288. Printing order: 6 4 2 1 3 5  or  1 3 5 6 4 2         
  289. $OUT2 will contain the even pages in reversed order.
  290.  
  291.